Added a "position" argument.
authorFederico Mena Quintero <federico@ximian.com>
Fri, 27 Feb 2004 20:48:22 +0000 (20:48 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Fri, 27 Feb 2004 20:48:22 +0000 (20:48 +0000)
commitc9e88e4e67c7dac0a59dbb5d296247725415da0e
tree3bf19c7d755e2d61f9b86755cf86c6a40d11597d
parentcc7c7d22639792bec201ebadb8513128dc97bd75
Added a "position" argument.

2004-02-27  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystem.c (gtk_file_system_insert_bookmark): Added a
"position" argument.

* gtk/gtkfilesystem.h (GtkFileSystemError): Added value for
GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS.
(struct _GtkFileSystemIface): Added a "position" argument to the
::insert_bookmark() method.

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
Updated; renamed from gtk_file_system_unix_add_bookmark().  Return
an error if the path already exists in the bookmarks list.
(gtk_file_system_unix_remove_bookmark): Return an error if the
path does not exist in the bookmarks list.

* gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
For now, use gtk_file_system_insert_bookmark() with -1 for the
position.  DnD will come next.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c
gtk/gtkfilesystem.c
gtk/gtkfilesystem.h
gtk/gtkfilesystemunix.c